<div class="submit-form">
    <table class="submit-table">
        <tr>
            <td class="label">部门名称：</td>
            <td><input name="name" class="easyui-textbox" data-options="required:true"></td>
        </tr>
        <tr>
            <td class="label">上级部门：</td>
            <td><input name="parentId" id="parentId"></td>
        </tr>
        <tr>
            <td class="label">备注：</td>
            <td><input name="remark" class="easyui-textbox" style="height:50px;"
                       data-options="multiline:true"></td>
        </tr>
    </table>
</div>
<script>
    $('#parentId').combotree({
        method: 'get',
        valueField: 'id',
        textField: 'text',
        url: Url.User.Api.DEPARTMENT + '/list_all_as_combo_tree',
    });
</script>